<template>
  <el-form-item label="测试事件" label-width="150px">
    <span slot="label" v-if="selectedWidget.options.onClick" style="color: #3cff00;">测试事件</span>
    <el-button icon="el-icon-edit-outline" type="text" @click="editEventHandler('onTest', eventParams)">代码编辑</el-button>
  </el-form-item>
</template>

<script>
  import {vformEventMixin} from '@/../lib/VFormDesigner.umd.min.js'
  export default {
    name: "onTest-editor",
    mixins: [vformEventMixin],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
    data() {
      return {
        eventParams: [],
      }
    }
  }
</script>

<style scoped>

</style>
